import React, { PureComponent } from 'react';
import styles from './index.less';
import 'moment/locale/zh-cn';
import { ModalC } from '../../../comps';

export default class ModalUser extends PureComponent {
  render() {
    const { userVisible, usertitleModal, UserGL, userOK, usercancel } = this.props;

    return (
      <ModalC title={usertitleModal} visible={userVisible} onOk={userOK} onCancel={usercancel} width={800}>
        <div className={styles.tableListForm}>{UserGL()}</div>
      </ModalC>
    );
  }
}
